[INFO] cloning repository https://github.com/C-The-Doctor/Near-Asset-Management
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/C-The-Doctor/Near-Asset-Management" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC-The-Doctor%2FNear-Asset-Management", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC-The-Doctor%2FNear-Asset-Management'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4e892a731c43d132b3b3b2b0e1e5807b73d63700
[INFO] checking C-The-Doctor/Near-Asset-Management against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC-The-Doctor%2FNear-Asset-Management" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/C-The-Doctor/Near-Asset-Management on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/C-The-Doctor/Near-Asset-Management
[INFO] finished tweaking git repo https://github.com/C-The-Doctor/Near-Asset-Management
[INFO] tweaked toml for git repo https://github.com/C-The-Doctor/Near-Asset-Management written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/C-The-Doctor/Near-Asset-Management already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded near-account-id v0.10.0
[INFO] [stderr]   Downloaded borsh-derive v0.9.2
[INFO] [stderr]   Downloaded near-vm-errors v0.10.0
[INFO] [stderr]   Downloaded impl-trait-for-tuples v0.2.1
[INFO] [stderr]   Downloaded near-crypto v0.10.0
[INFO] [stderr]   Downloaded zeroize v1.5.0
[INFO] [stderr]   Downloaded zeroize_derive v1.3.1
[INFO] [stderr]   Downloaded parity-secp256k1 v0.7.0
[INFO] [stderr]   Downloaded near-contract-standards v4.0.0-pre.7
[INFO] [stderr]   Downloaded ed25519 v1.3.0
[INFO] [stderr]   Downloaded reed-solomon-erasure v4.0.2
[INFO] [stderr]   Downloaded validator_types v0.12.0
[INFO] [stderr]   Downloaded validator v0.12.0
[INFO] [stderr]   Downloaded c2-chacha v0.3.3
[INFO] [stderr]   Downloaded near-primitives v0.10.0
[INFO] [stderr]   Downloaded near-primitives-core v0.10.0
[INFO] [stderr]   Downloaded libc v0.2.114
[INFO] [stderr]   Downloaded near-sdk v4.0.0-pre.7
[INFO] [stderr]   Downloaded borsh-derive-internal v0.9.2
[INFO] [stderr]   Downloaded borsh-schema-derive-internal v0.9.2
[INFO] [stderr]   Downloaded borsh v0.9.2
[INFO] [stderr]   Downloaded near-rpc-error-core v0.10.0
[INFO] [stderr]   Downloaded near-rpc-error-macro v0.10.0
[INFO] [stderr]   Downloaded near-vm-logic v0.10.0
[INFO] [stderr]   Downloaded near-sdk-macros v4.0.0-pre.7
[INFO] [stderr]   Downloaded near-sys v0.1.0
[INFO] [stderr]   Downloaded easy-ext v0.2.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 38f3ec2a36a26e1d8d82c6c8d375e7c8e512df01e81dfc90161ef0232763a4cc
[INFO] running `Command { std: "docker" "start" "-a" "38f3ec2a36a26e1d8d82c6c8d375e7c8e512df01e81dfc90161ef0232763a4cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38f3ec2a36a26e1d8d82c6c8d375e7c8e512df01e81dfc90161ef0232763a4cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38f3ec2a36a26e1d8d82c6c8d375e7c8e512df01e81dfc90161ef0232763a4cc", kill_on_drop: false }`
[INFO] [stdout] 38f3ec2a36a26e1d8d82c6c8d375e7c8e512df01e81dfc90161ef0232763a4cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 405e37d9f195db3d68dd275f24ff123ac3fddcd132f98023f45b2af8d6d4a508
[INFO] running `Command { std: "docker" "start" "-a" "405e37d9f195db3d68dd275f24ff123ac3fddcd132f98023f45b2af8d6d4a508", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling libc v0.2.114
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking getrandom v0.2.4
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking funty v1.1.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking wyz v0.2.0
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking bitvec v0.20.4
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking byte-slice-cast v1.2.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking signature v1.5.0
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling parity-secp256k1 v0.7.0
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking fixed-hash v0.7.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking ed25519 v1.3.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking uint v0.9.1
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling reed-solomon-erasure v4.0.2
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking c2-chacha v0.3.3
[INFO] [stderr]     Checking blake2 v0.9.2
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking validator_types v0.12.0
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling easy-ext v0.2.9
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]     Checking bytesize v1.1.0
[INFO] [stderr]     Checking keccak v0.1.0
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.2
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking ripemd160 v0.9.1
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking near-sys v0.1.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.1
[INFO] [stderr]    Compiling zeroize_derive v1.3.1
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling smart-default v0.6.0
[INFO] [stderr]    Compiling near-sdk-macros v4.0.0-pre.7
[INFO] [stderr]     Checking zeroize v1.5.0
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling near-rpc-error-core v0.10.0
[INFO] [stderr]     Checking validator v0.12.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]    Compiling near-rpc-error-macro v0.10.0
[INFO] [stderr]    Compiling borsh-derive v0.9.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v2.3.1
[INFO] [stderr]     Checking borsh v0.9.2
[INFO] [stderr]     Checking near-account-id v0.10.0
[INFO] [stderr]     Checking near-vm-errors v0.10.0
[INFO] [stderr]     Checking near-primitives-core v0.10.0
[INFO] [stderr]     Checking parity-scale-codec v2.3.1
[INFO] [stderr]     Checking impl-codec v0.5.1
[INFO] [stderr]     Checking primitive-types v0.10.1
[INFO] [stderr]     Checking near-crypto v0.10.0
[INFO] [stderr]     Checking near-primitives v0.10.0
[INFO] [stderr]     Checking near-vm-logic v0.10.0
[INFO] [stderr]     Checking near-sdk v4.0.0-pre.7
[INFO] [stderr]     Checking near-contract-standards v4.0.0-pre.7
[INFO] [stderr]     Checking near-asset-management-app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `chrono`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `chrono`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `felix` in this scope
[INFO] [stdout]    --> src/lib.rs:203:35
[INFO] [stdout]     |
[INFO] [stdout] 203 |         let context = get_context(felix.clone());
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `felix` in this scope
[INFO] [stdout]    --> src/lib.rs:215:35
[INFO] [stdout]     |
[INFO] [stdout] 215 |         let context = get_context(felix.clone());
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `felix` in this scope
[INFO] [stdout]    --> src/lib.rs:227:35
[INFO] [stdout]     |
[INFO] [stdout] 227 |         let context = get_context(felix.clone());
[INFO] [stdout]     |                                   ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `near-asset-management-app` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:221:42
[INFO] [stdout]     |
[INFO] [stdout] 221 |         assert_eq!(contract.count_assets("Kylastroke"), 1);
[INFO] [stdout]     |                             ------------ ^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                             |            |
[INFO] [stdout]     |                             |            expected `String`, found `&str`
[INFO] [stdout]     |                             arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn count_assets(&self, company_name: String) -> usize{
[INFO] [stdout]     |            ^^^^^^^^^^^^        --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:234:47
[INFO] [stdout]     |
[INFO] [stdout] 234 |         assert_eq!(contract.count_inventories("Kylastroke"), 1);
[INFO] [stdout]     |                             ----------------- ^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                             |                 |
[INFO] [stdout]     |                             |                 expected `String`, found `&str`
[INFO] [stdout]     |                             arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 170 |     pub fn count_inventories(&self, company_name: String)->usize{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^        --------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `near-asset-management-app` (lib test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "405e37d9f195db3d68dd275f24ff123ac3fddcd132f98023f45b2af8d6d4a508", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "405e37d9f195db3d68dd275f24ff123ac3fddcd132f98023f45b2af8d6d4a508", kill_on_drop: false }`
[INFO] [stdout] 405e37d9f195db3d68dd275f24ff123ac3fddcd132f98023f45b2af8d6d4a508
